package com.woniuxy.cloud.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 服务项目购物车表
 * </p>
 *
 * @author Lucas
 * @since 2021-09-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel("服务购物车实体类")
public class TServiceCar implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty("服务购物车id")
    @TableId(value = "service_car_id", type = IdType.AUTO)
    private Integer serviceCarId;

    /**
     * 二级服务id
     */
    @ApiModelProperty("二级服务id")
    private Integer serviceCarSecondServiceId;

    /**
     * 用户id
     */
    @ApiModelProperty("用户id")
    private Integer serviceCarUserId;

    /**
     * 数量
     */
    @ApiModelProperty("数量")
    private Integer serviceCarNum;

    /**
     * 小计
     */
    @ApiModelProperty("小计")
    private Double serviceCarTotal;

    /**
     * 记录新增时间
     */
    private Date rawAddTime;

    /**
     * 记录修改时间
     */
    private Date rawUpdateTime;


}
